Optimal. Leaf size=115 \[ \frac {2 b^4 (5 A+7 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 d}+\frac {2 b^3 (5 A+7 C) \sin (c+d x) (b \sec (c+d x))^{3/2}}{21 d}+\frac {2 A b^2 \tan (c+d x) (b \sec (c+d x))^{5/2}}{7 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3238, 4046, 3768, 3771, 2641} \[ \frac {2 b^3 (5 A+7 C) \sin (c+d x) (b \sec (c+d x))^{3/2}}{21 d}+\frac {2 b^4 (5 A+7 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 d}+\frac {2 A b^2 \tan (c+d x) (b \sec (c+d x))^{5/2}}{7 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2641
Rule 3238
Rule 3768
Rule 3771
Rule 4046
Rubi steps
\begin {align*} \int \left (A+C \cos ^2(c+d x)\right ) (b \sec (c+d x))^{9/2} \, dx &=b^2 \int (b \sec (c+d x))^{5/2} \left (C+A \sec ^2(c+d x)\right ) \, dx\\ &=\frac {2 A b^2 (b \sec (c+d x))^{5/2} \tan (c+d x)}{7 d}+\frac {1}{7} \left (b^2 (5 A+7 C)\right ) \int (b \sec (c+d x))^{5/2} \, dx\\ &=\frac {2 b^3 (5 A+7 C) (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 d}+\frac {2 A b^2 (b \sec (c+d x))^{5/2} \tan (c+d x)}{7 d}+\frac {1}{21} \left (b^4 (5 A+7 C)\right ) \int \sqrt {b \sec (c+d x)} \, dx\\ &=\frac {2 b^3 (5 A+7 C) (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 d}+\frac {2 A b^2 (b \sec (c+d x))^{5/2} \tan (c+d x)}{7 d}+\frac {1}{21} \left (b^4 (5 A+7 C) \sqrt {\cos (c+d x)} \sqrt {b \sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx\\ &=\frac {2 b^4 (5 A+7 C) \sqrt {\cos (c+d x)} F\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \sec (c+d x)}}{21 d}+\frac {2 b^3 (5 A+7 C) (b \sec (c+d x))^{3/2} \sin (c+d x)}{21 d}+\frac {2 A b^2 (b \sec (c+d x))^{5/2} \tan (c+d x)}{7 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.87, size = 78, normalized size = 0.68 \[ \frac {b^2 (b \sec (c+d x))^{5/2} \left ((5 A+7 C) \sin (2 (c+d x))+2 (5 A+7 C) \cos ^{\frac {5}{2}}(c+d x) F\left (\left .\frac {1}{2} (c+d x)\right |2\right )+6 A \tan (c+d x)\right )}{21 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.54, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (C b^{4} \cos \left (d x + c\right )^{2} + A b^{4}\right )} \sqrt {b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{4}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {9}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.37, size = 249, normalized size = 2.17 \[ -\frac {2 \left (-1+\cos \left (d x +c \right )\right ) \left (5 i A \sqrt {\frac {1}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticF \left (\frac {i \left (-1+\cos \left (d x +c \right )\right )}{\sin \left (d x +c \right )}, i\right ) \sin \left (d x +c \right ) \left (\cos ^{3}\left (d x +c \right )\right )+7 i C \sqrt {\frac {1}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \EllipticF \left (\frac {i \left (-1+\cos \left (d x +c \right )\right )}{\sin \left (d x +c \right )}, i\right ) \sin \left (d x +c \right ) \left (\cos ^{3}\left (d x +c \right )\right )-5 A \left (\cos ^{3}\left (d x +c \right )\right )-7 C \left (\cos ^{3}\left (d x +c \right )\right )+5 A \left (\cos ^{2}\left (d x +c \right )\right )+7 C \left (\cos ^{2}\left (d x +c \right )\right )-3 A \cos \left (d x +c \right )+3 A \right ) \cos \left (d x +c \right ) \left (1+\cos \left (d x +c \right )\right )^{2} \left (\frac {b}{\cos \left (d x +c \right )}\right )^{\frac {9}{2}}}{21 d \sin \left (d x +c \right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {9}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \left (C\,{\cos \left (c+d\,x\right )}^2+A\right )\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{9/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________